package itcz.example.pattern.create_action.prototype.shallow_clone;

/**
 * @ClassName: Client
 * @Author: ITCZ
 * @Date: 2025-07-20
 * @Description:
 */
public class Client {
    public static void main(String[] args) throws CloneNotSupportedException {
        Realsizetype realsizetype = new Realsizetype();
        // 浅克隆
        Realsizetype realsizetype1 = realsizetype.clone();

        System.out.println("原型对象和克隆对象的是否是同一个对象:" + (realsizetype == realsizetype1));
    }
}
